package com.equipment.fkdcn.service;

import com.equipment.fkdcn.mapper.ERetrunLend;
import com.equipment.fkdcn.pojo.EReturnLend;

import java.util.List;

public class EReturnLendServiceImpl implements EReturnLendService{

    private ERetrunLend eRLend;

    public void seteRLend(ERetrunLend eRLend) {
        this.eRLend = eRLend;
    }

    public boolean lendAdd(EReturnLend eReturnLend) {
        return eRLend.lendAdd(eReturnLend);
    }

    public boolean upLendReturn(String time, String state,int id) {
        return eRLend.upLendReturn(time,state,id);
    }


    public boolean dellenReturn(int id) {
        return eRLend.dellenReturn(id);
    }

    public List<EReturnLend> allQuery(String name) {
        return eRLend.allQuery(name);
    }

    public List<EReturnLend> retuEp(String boor, String dep) {
        return eRLend.retuEp(boor,dep);
    }


}
